package com.finger.gulimall.product.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@NoArgsConstructor
@AllArgsConstructor
@Data
public class Catelog2Vo {

    private String catalog1Id; // 一级父类的id
    private List<CataLlog3Vo> catalog3List; // 三级子分类
    private String id;
    private String name;

    @NoArgsConstructor
    @AllArgsConstructor
    @Data
    public static class CataLlog3Vo {
        private String catalogId; // 父分类，二级分类的id
        private String id;
        private String name;
    }
}

